home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000100_icon-group-sender _Mon Jun 22 12:50:51 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  3KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA11483
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 22 Jun 1998 12:50:51 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA27571; Mon, 22 Jun 1998 12:50:41 -0700
  7. Message-Id: <3.0.5.32.19980622102318.00a34530@post.its.mcw.edu>
  8. X-Sender: cdt@post.its.mcw.edu
  9. X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
  10. Date: Mon, 22 Jun 1998 10:23:18
  11. To: icon-group@optima.CS.Arizona.EDU
  12. From: Chris Tenaglia <cdt@post.its.mcw.edu>
  13. Subject: RE: Wanted : Small meta data language
  14. Mime-Version: 1.0
  15. Content-Type: text/plain; charset="us-ascii"
  16. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  17. Status: RO
  18. Content-Length: 1808
  19.  
  20. I designed a similar database package years ago. I think what you
  21. mean is an INI file design. I called my package Attercop, wrote it
  22. around 1983, and ported to Icon in 1989. The database is stored
  23. in a flat file with \xFE as field delimiters. I thought about having an
  24. \xFF delimiter for a field with "many" potential elements. 
  25. Typically, data is in a .dat file. In this example, the metafile is called
  26. userbase.atcp. So typing "attercop userbase" opens this metafile
  27. which tells attercop where the data is, how it's layed out, and also
  28. contains some display, sort, and print preferences. attercop then
  29. displays a menu for performing various maintenance and reporting
  30. on the data. But with a known interface other programs (even CGI)
  31. could make use of it. A unix compressed version of attercop is
  32. downloadable from http://www.execpc.com/~cdt if one wants to
  33. look more closely at it.
  34. ____________________________________________________________________________
  35. ___________
  36. data in /export/home/cdt/srch/userbase.dat
  37. header is General User Accounts
  38. fields are UserName UID_____ GID_____ Phone FullName Dept Email_
  39. __ HomeDir_ Profile_
  40. lengths are 10 6 6 14 30 35 35 21 8
  41. look up 1
  42. sort on 5
  43. print using 1 57 mishp5/200_dplx n/a
  44. title begin
  45. MCWSUN USER ACCOUNTS REPORT                             &PAGE
  46.                      FOR &DATE
  47. USERNAME    UID     GID     PHONE NUMBER    FULLNAME
  48. LAST
  49.  NAME             DEPARTMENT NAME                      EMAIL ADDRESS
  50.             HOMEDIR                PROFILE
  51. ==========  ======  ======  ==============  ==============================
  52. ====
  53. ================  ===================================
  54. =========================
  55. ==========  =====================  =======
  56. title end
  57. ____________________________________________________________________________
  58. ____________
  59.  
  60.  
  61.